Avoid long futile looping on a TTY under huge values of hscroll.
authorEli Zaretskii <eliz@gnu.org>
Thu, 5 Jul 2012 16:28:34 +0000 (19:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 5 Jul 2012 16:28:34 +0000 (19:28 +0300)
commit44a3c1b57e1460c8216464f65b71eb07f46829c3
tree9f9e35ec825c17e14538ae8d6edd336c113371fe
parent5b20937fc2c6783d0cb47bde9a2df57e83126ebd
Avoid long futile looping on a TTY under huge values of hscroll.

 src/xdisp.c (display_line): Fix horizontal pixel coordinates when
 hscroll is larger than the line width.  Fixes long and futile
 looping inside extend_face_to_end_of_line (on a TTY) producing
 glyphs that are not needed and thrown away.
src/ChangeLog
src/xdisp.c